import { ProForm, ProFormText, ProFormTextArea } from "@ant-design/pro-components"

const DictTypeForm = () => {
  return <>
    <ProForm.Group rowProps={{
      gutter: 20
    }}>
      <ProForm.Item name='id' hidden></ProForm.Item>
      <ProForm.Item name='version' hidden></ProForm.Item>
      <ProFormText
        colProps={{ span: 12 }}
        name="dictName"
        label="字典分类名称"
        placeholder="请输入字典分类名称"
        rules={[{ required: true, message: '请输入字典分类名称' }]}
      />

      <ProFormText
        colProps={{ span: 12 }}
        name="dictType"
        label="字典分类编码"
        placeholder="请输入字典分类编码"
        rules={[{ required: true, message: '请输入字典分类编码' }]}
      />
    </ProForm.Group>
    <ProFormTextArea
      rows={4}
      name="remark"
      label="描述"
      placeholder="请输入内容"
    />
  </>
}



export default DictTypeForm